package com.tian.mapper;

import com.tian.dto.market.ChargeActivityConditionPageReqDto;
import com.tian.entity.ChargeActivityCondition;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface ChargeActivityConditionMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ChargeActivityCondition record);

    ChargeActivityCondition selectByPrimaryKey(Integer id);

    List<ChargeActivityCondition> selectAll();

    int updateByPrimaryKey(ChargeActivityCondition record);

    List<ChargeActivityCondition> page(ChargeActivityConditionPageReqDto chargeActivityConditionPageReqDto);
}